import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

// 导入vant全局样式
import 'vant/lib/index.css'
import persistedState from 'pinia-plugin-persistedstate'


// 创建 Pinia 实例，并立即使用 pinia-plugin-persistedstate 插件
const pinia = createPinia().use(persistedState)

const app = createApp(App)

app.use(pinia)
app.use(router)

app.mount('#app')



